package com.mmall.pojo;

import java.util.Date;

public class Article {
    private Integer id;

    private String image;

    private String title;

    private String small;

    private Integer good;

    private Integer see;

    private Date createTime;

    private Date updateTime;

    private String userName;

    private Integer userId;

    private Integer categoryId;

    private String content;

    public Article(Integer id, String image, String title, String small, Integer good, Integer see, Date createTime, Date updateTime, String userName, Integer userId, Integer categoryId, String content) {
        this.id = id;
        this.image = image;
        this.title = title;
        this.small = small;
        this.good = good;
        this.see = see;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.userName = userName;
        this.userId = userId;
        this.categoryId = categoryId;
        this.content = content;
    }

    public Article() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSmall() {
        return small;
    }

    public void setSmall(String small) {
        this.small = small == null ? null : small.trim();
    }

    public Integer getGood() {
        return good;
    }

    public void setGood(Integer good) {
        this.good = good;
    }

    public Integer getSee() {
        return see;
    }

    public void setSee(Integer see) {
        this.see = see;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}